package com.zhs.gccs.model;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

@Table(name = "CaDict")
public class CaDict implements Serializable {
    public static String Type_dict = "1";//常规字典
    public static String Type_form = "2";//标记微表单
    public static String Type_form_item = "3";//表单项
//    {dictCode:'cjzlx',dictName:'值类型',dictValue:'string',dictSort:'1'},
//    {dictCode:'cjzcd',dictName:'字符串长度(数值小数位数)',dictValue:'',dictSort:'2'},
//    {dictCode:'cjxz',dictName:'(抽)检测性质',dictValue:'1',dictSort:'3'},//1 必填
//    {dictCode:'cjsl',dictName:'(抽)检测数量',dictValue:'',dictSort:'4'},
//    {dictCode:'cjff',dictName:'检测方法/工具',dictValue:'',dictSort:'5'},
//    {dictCode:'cjpjbz',dictName:'评价标准',dictValue:'',dictSort:'6'},
//    {dictCode:'cjfj',dictName:'抽检照片',dictValue:'',dictSort:'7'},
//    {dictCode:'cjfjsl',dictName:'抽检照片数量',dictValue:'',dictSort:'8'},
//    {dictCode:'cjjg',dictName:'抽检结果',dictValue:'',dictSort:'9'},
//    {dictCode:'cjbz',dictName:'抽检备注',dictValue:'',dictSort:'10'},
//    {dictCode:'fzcl',dictName:'佐证材料',dictValue:'',dictSort:'11'},

    public static String key_cjzlx = "cjzlx";//值类型
    public static String key_cjzcd = "cjzcd";//字符串长度(数值小数位数)
    public static String key_cjdw = "cjdw";//单位
    public static String key_cjxz = "cjxz";//(抽)检测性质 是否必填
    public static String key_cjsl = "cjsl";//(抽)检测数量
    public static String key_cjff = "cjff";//检测方法/工具
    public static String key_cjpjbz = "cjpjbz";//评价标准
    public static String key_cjfj = "cjfj";//抽检照片
    public static String key_cjfjsl = "cjfjsl";//抽检照片数量
    public static String key_cjjg = "cjjg";//抽检结果
    public static String key_cjbz = "cjbz";//抽检备注
    public static String key_fzcl = "fzcl";//佐证材料

    /** ID */
    @Column(name = "id", isId = true)
    private String id;

    /** 字典编码 */
    @Column(name = "dictCode")
    private String dictCode;

    /** 字典描述 */
    @Column(name = "dictName")
    private String dictName;

    /** 字典父级ID */
    @Column(name = "dictPid")
    private String dictPid;

    /** 字典排序 */
    @Column(name = "dictSort")
    private Long dictSort;

    /** 字典值 */
    @Column(name = "dictValue")
    private String dictValue;
    @Column(name = "hasChild")
    private String hasChild;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDictCode() {
        return dictCode;
    }

    public void setDictCode(String dictCode) {
        this.dictCode = dictCode;
    }

    public String getDictName() {
        return dictName;
    }

    public void setDictName(String dictName) {
        this.dictName = dictName;
    }

    public String getDictPid() {
        return dictPid;
    }

    public void setDictPid(String dictPid) {
        this.dictPid = dictPid;
    }

    public Long getDictSort() {
        return dictSort;
    }

    public void setDictSort(Long dictSort) {
        this.dictSort = dictSort;
    }

    public String getDictValue() {
        return dictValue;
    }

    public void setDictValue(String dictValue) {
        this.dictValue = dictValue;
    }

    public String getHasChild() {
        return hasChild;
    }

    public void setHasChild(String hasChild) {
        this.hasChild = hasChild;
    }
}
